<?php

/**
 * @author Tongle Xu <xutongle@gmail.com>
 * @copyright Copyright (c) 2003-2103 Jinan TintSoft development co., LTD
 * @license http://www.tintsoft.com/html/about/copyright/
 * @version $Id$
 */
namespace Leaps\Console;

use Leaps;
use Leaps\Base\UserException;

/**
 * 控制台命令异常
 *
 * @author Tongle Xu <xutongle@gmail.com>
 * @since 4.0
 */
class Exception extends UserException {
	/**
	 * 返回用户友好的异常名称
	 * @return string
	 */
	public function getName() {
		return Leaps::t ( 'leaps', 'Error' );
	}
}
